#ifndef ADMINISTRATOR_H
#define ADMINISTRATOR_H

#include <QWidget>
#include <QSerialPort>
namespace Ui {
class Administrator;
}

class Administrator : public QWidget
{
    Q_OBJECT

public:
    explicit Administrator(QSerialPort *serialPort,QWidget *parent = nullptr);
    ~Administrator();

private slots:
    void on_pushButton_clicked();
  signals:
    void admin_config_succeed();
private:
    Ui::Administrator *ui;
    QSerialPort *serialPort;
};

#endif // ADMINISTRATOR_H
